package com.java.entity;

import java.io.Serializable;
import java.util.List;

public class Question implements Serializable {
    private Integer questionId;

    private String questionContent;

    private Integer hasOption;

    private Integer questionTypeId;

    private List<QuestionOption> questionOptions;

    private static final long serialVersionUID = 1L;

    public List<QuestionOption> getQuestionOptions() {
        return questionOptions;
    }

    public void setQuestionOptions(List<QuestionOption> questionOptions) {
        this.questionOptions = questionOptions;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent == null ? null : questionContent.trim();
    }

    public Integer getHasOption() {
        return hasOption;
    }

    public void setHasOption(Integer hasOption) {
        this.hasOption = hasOption;
    }

    public Integer getQuestionTypeId() {
        return questionTypeId;
    }

    public void setQuestionTypeId(Integer questionTypeId) {
        this.questionTypeId = questionTypeId;
    }
}